using System.Threading.Tasks;
using AElf.Kernel;
using AElf.OS.BlockSync.Dto;

namespace AElf.OS.BlockSync.Application;

public interface IBlockSyncService
{
    Task SyncByAnnouncementAsync(Chain chain, SyncAnnouncementDto syncAnnouncementDto);

    Task SyncByBlockAsync(Chain chain, SyncBlockDto syncBlockDto);
}